package com.example.demo.bean;

public class Person {
    private int id; //用户ID
    private String name; //用户名称
    private String department; //用户角色，医生护士-->部门；患者-->就诊部门
    private String age; //年龄
    private String sex; //性别
    private String role; //角色--医生、护士、患者
    private String phone; //联系方式
    private String soleType; //角色类型 1-医生；2-护士；3-患者
    private String type;  //患者当前状态 急诊/出诊/复诊
    private String time; //患者入院时间
    private String stage; //患者当前状态 已预约/已就诊
    private String currStage; //患者当前就诊阶段
    private String address; //患者住址
    private String addressType;  //患者住址类型

    public Person() {
    }

    public Person(int id, String name, String department, String age, String sex, String role, String phone, String soleType, String type, String time, String stage, String currStage, String address, String addressType) {
        this.id = id;
        this.name = name;
        this.department = department;
        this.age = age;
        this.sex = sex;
        this.role = role;
        this.phone = phone;
        this.soleType = soleType;
        this.type = type;
        this.time = time;
        this.stage = stage;
        this.currStage = currStage;
        this.address = address;
        this.addressType = addressType;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSoleType() {
        return soleType;
    }

    public void setSoleType(String soleType) {
        this.soleType = soleType;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getStage() {
        return stage;
    }

    public void setStage(String stage) {
        this.stage = stage;
    }

    public String getCurrStage() {
        return currStage;
    }

    public void setCurrStage(String currStage) {
        this.currStage = currStage;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddressType() {
        return addressType;
    }

    public void setAddressType(String addressType) {
        this.addressType = addressType;
    }

    @Override
    public String toString() {
        return "Person{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", department='" + department + '\'' +
                ", age='" + age + '\'' +
                ", sex='" + sex + '\'' +
                ", role='" + role + '\'' +
                ", phone='" + phone + '\'' +
                ", soleType='" + soleType + '\'' +
                ", type='" + type + '\'' +
                ", time='" + time + '\'' +
                ", stage='" + stage + '\'' +
                ", currStage='" + currStage + '\'' +
                ", address='" + address + '\'' +
                ", addressType='" + addressType + '\'' +
                '}';
    }
}
